package Controller.StateImpl;

import Controller.POSSystem;
import Controller.State;

public class InitState implements State {
    private static InitState instance;

    private InitState() {}

    public static InitState getInstance() {
        if (instance == null) {
            instance = new InitState();
        }
        return instance;
    }

    @Override
    public void doAction() {
        POSSystem.getInstance().startUp();//初始化
    }
}
